package com.raylu.realtime.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * Description:
 * <p>
 * Create by lucienoz on 2021/12/30.
 * Copyright © 2021 lucienoz. All rights reserved.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetail {
    //id,order_id,sku_id,sku_name,order_price,sku_num,create_time,
    // source_type,source_id,split_activity_amount,
    // split_coupon_amount,split_total_amount
    String id;//编号
    String order_id;//订单编号
    String sku_id;//sku_id
    String sku_name;//sku名称（冗余)
    BigDecimal order_price;//购买价格(下单时sku价格）
    String sku_num;//购买个数
    String create_time;//创建时间
    String source_type;//来源类型
    String source_id;//来源编号
    BigDecimal split_total_amount;
    BigDecimal split_activity_amount;
    BigDecimal split_coupon_amount;
    Long ts;
}
